package com.lottery.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lottery.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
    * 短报信息表
    * </p>
*
* @author jobob
* @since 2019-11-04
*/
    @Data
    @Accessors(chain = true)
    @ApiModel(value="TbShortReportInfo对象", description="短报信息表")
    @TableName("tb_short_report_info")
    public class ShortReportInfo  {

        private static final long serialVersionUID = 1L;

        private Long memberId;

                @ApiModelProperty(value = "标题")
        private String title;

                @ApiModelProperty(value = "内容")
        private String content;

        @ApiModelProperty(value = "是否置顶 0置顶")
        private Integer isTop;

        @ApiModelProperty(value = "图片")
        private String image;
        @ApiModelProperty(value = "阅读数")
        private Integer readNum;
        @ApiModelProperty(value = "点赞数")
        private Integer likeNum;
        @ApiModelProperty(value = "评论数")
        private Integer commentNum;
        @TableField(exist=false)
        @ApiModelProperty(value = "是否点赞")
        private Integer isLike;

}
